package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.DesignerDao;
import com.cn.wanxi.dao.NavFindAllDao;
import com.cn.wanxi.dao.NewsFindAllDao;
import com.cn.wanxi.dao.impl.DesignerImpl;
import com.cn.wanxi.dao.impl.NavFindAllImpl;
import com.cn.wanxi.dao.impl.NewsFindAllImpl;
import com.cn.wanxi.model.DesignerModel;
import com.cn.wanxi.model.NavModel;
import com.cn.wanxi.model.ResultModel;
import com.cn.wanxi.service.NavFindAllService;

import java.util.List;

public class NavFindAllServiceImpl implements NavFindAllService {
    @Override
    public ResultModel findAll(NavModel navModel) {
        ResultModel resultModel = new ResultModel();
        NavFindAllDao navFindAllDao = new NavFindAllImpl();
        List<NavModel> list = navFindAllDao.findAll(navModel);
        resultModel.setData(list);
        return resultModel;
    }

    @Override
    public ResultModel add(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel findById(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel update(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel delete(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel getCount(NavModel navModel) {
        return null;
    }
}
